package com.meida.module.bus.client.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 用户物品生成记录
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_usergoods_generateinfo")
@TableAlias("bug")
@ApiModel(value="BusUsergoodsGenerateinfo对象", description="用户物品生成记录")
public class BusUsergoodsGenerateinfo extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "userGoodsGenerateInfoId", type = IdType.ASSIGN_ID)
    private Long userGoodsGenerateInfoId;

    @ApiModelProperty(value = "商品信息")
    private String goodsId;

    @ApiModelProperty(value = "生成数量")
    private Integer goodsNum;

    @ApiModelProperty(value = "所属机场")
    private String airportId;

    @ApiModelProperty(value = "激活码,用逗号分隔")
    private String activateCode;

    @ApiModelProperty(value = "合作商Id")
    private String distributorId;

    @ApiModelProperty(value = "操作人")
    private Long optUserId;

    @ApiModelProperty(value = "是否删除")
    private Integer deleted;

}
